package a.j;

import a.c.d;
import a.c.e;

import java.awt.*;
import java.awt.geom.Rectangle2D;
import java.util.Iterator;

public class pb
  implements vd
{
  private jc a;
  private jc b;
  public static boolean c;
  
  public pb()
  {
    this(new nb(), new nb());
  }
  
  public pb(jc paramjc1, jc paramjc2)
  {
    this.a = paramjc1;
    this.b = paramjc2;
  }
  
  public jc a()
  {
    return this.a;
  }
  
  public void a(jc paramjc)
  {
    if (paramjc == null) {
      throw new IllegalArgumentException("null");
    }
    this.a = paramjc;
  }
  
  public jc b()
  {
    return this.b;
  }
  
  public void b(jc paramjc)
  {
    if (paramjc == null) {
      throw new IllegalArgumentException("null");
    }
    this.b = paramjc;
  }
  
  public void a(Graphics2D paramGraphics2D, g paramg)
  {
    a(paramGraphics2D, paramg, new b_(null));
  }
  
  public void b(Graphics2D paramGraphics2D, g paramg)
  {
    a(paramGraphics2D, paramg, new c_(null));
  }
  
  private void a(Graphics2D paramGraphics2D, g paramg, d_ paramd_)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Rectangle localRectangle = paramGraphics2D.getClipBounds();
    if ((bool2) || (localRectangle == null)) {
      localRectangle = paramg.d();
    }
    jc localjc = paramd_.a();
    Iterator localIterator = localjc.a(paramg, 3);
    label129:
    label134:
    do
    {
      do
      {
        Object localObject2;
        do
        {
          Object localObject1;
          do
          {
            do
            {
              if (!localIterator.hasNext()) {
                return;
              }
              localObject1 = localIterator.next();
              if (bool2) {
                break label134;
              }
              if (!(localObject1 instanceof d)) {
                break label129;
              }
              localObject2 = paramg.t((d)localObject1);
              if (bool2) {
                break;
              }
            } while (!a((tb)localObject2, localRectangle));
            paramd_.a(paramGraphics2D, (tb)localObject2);
          } while ((!bool2) && ((!bool1) || (!(localObject1 instanceof e))));
          localObject2 = paramg.w((e)localObject1);
          if (bool2) {
            break;
          }
        } while (!a((ld)localObject2, localRectangle));
        paramd_.a(paramGraphics2D, (ld)localObject2);
      } while (bool2);
    } while (!bool1);
  }
  
  protected void a(Graphics2D paramGraphics2D, tb paramtb)
  {
    paramtb.c(paramGraphics2D);
  }
  
  protected void a(Graphics2D paramGraphics2D, ld paramld)
  {
    paramld.e(paramGraphics2D);
  }
  
  protected void b(Graphics2D paramGraphics2D, tb paramtb)
  {
    paramtb.a(paramGraphics2D);
  }
  
  protected void b(Graphics2D paramGraphics2D, ld paramld)
  {
    paramld.c(paramGraphics2D);
  }
  
  protected boolean a(ld paramld, Rectangle2D paramRectangle2D)
  {
    Rectangle2D.Double localDouble = hb.a().j;
    localDouble.width = (localDouble.height = -1.0D);
    paramld.b(localDouble);
    return localDouble.intersects(paramRectangle2D.getX(), paramRectangle2D.getY(), paramRectangle2D.getWidth(), paramRectangle2D.getHeight());
  }
  
  protected boolean a(tb paramtb, Rectangle2D paramRectangle2D)
  {
    return paramtb.b(paramRectangle2D);
  }
  
  private final class c_
    implements pb.d_
  {
    private c_() {}
    
    public jc a()
    {
      return pb.this.b();
    }
    
    public void a(Graphics2D paramGraphics2D, tb paramtb)
    {
      pb.this.b(paramGraphics2D, paramtb);
    }
    
    public void a(Graphics2D paramGraphics2D, ld paramld)
    {
      pb.this.b(paramGraphics2D, paramld);
    }
    
    c_(pb.0 param0)
    {
      this();
    }
  }
  
  private final class b_
    implements pb.d_
  {
    private b_() {}
    
    public jc a()
    {
      return pb.this.a();
    }
    
    public void a(Graphics2D paramGraphics2D, tb paramtb)
    {
      pb.this.a(paramGraphics2D, paramtb);
    }
    
    public void a(Graphics2D paramGraphics2D, ld paramld)
    {
      pb.this.a(paramGraphics2D, paramld);
    }
    
    b_(pb.0 param0)
    {
      this();
    }
  }
  
  private static abstract interface d_
  {
    public abstract jc a();
    
    public abstract void a(Graphics2D paramGraphics2D, tb paramtb);
    
    public abstract void a(Graphics2D paramGraphics2D, ld paramld);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.pb

 * JD-Core Version:    0.7.0.1

 */